package com.ruyuan.payment.server.exception;

public enum BusinessExceptionEnum {

    MEMBER_LOGIN_NAME_EXIST("登录名重复"),
    MEMBER_LOGIN_ERROR("登录名不存在或密码错误"),

    USER_LOGIN_ERROR("登录名不存在或密码错误"),

    PAY_ERROR("调用支付接口失败"),
    ALIPAY_ERROR("调用支付宝接口失败"),
    WXPAY_ERROR("调用微信接口失败"),

    DO_ACCOUNT_ERROR("变更账户异常"),
    FREEZE_ERROR("冻结账户余额异常"),
    UNFREEZE_ERROR("解冻账户余额异常"),

    BILL_ERROR("对账异常"),
    ;

    private String message;

    BusinessExceptionEnum(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
